package nil.ed.simulator.request.enums.events;

import lombok.AllArgsConstructor;
import lombok.Getter;
import nil.ed.common.utils.BaseEnum;

/**
 * 事件类型.
 * @author lidelin.
 */
@Getter
@AllArgsConstructor
public enum  EventType implements BaseEnum<Integer> {
    /**
     * 事件类型.
     */
    PARSE_SUCCESS(1, "文件解析成功"),
    FILE_IMPORT(2, "文件导入"),
    START_ACTIVITY(3, "开始任务"),
    SCHEDULER_FINISH(4, "完成任务"),
    FILE_EXPORT(5, "文件导出"),
    FILE_EXPORT_FAILED(6, "文件导出失败"),
    FILE_EXPORT_SUCCESS(9, "文件导出成功"),
    NEED_VC(10, "需要验证码登录"),
    LOGIN_SUCCESS(11, "登录成功"),
    LOGIN_FAILED(12, "登录失败"),
    COOKIE_STORE(13, "Cookie存储"),
    ;
    private final Integer code;
    private final String desc;


}
